<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Sectionhead" Src="~/controls/SectionHeadControl.ascx" %>
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="DSLocalizatorReplacements.ascx.vb" Inherits="Delisoft.DNN.Modules.DSLocalizator.DSLocalizatorReplacements" %>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="300" border="0">
	<TR>
		<TD><dnn:sectionhead id="dshReplacementList" section="tblReplacementList" includerule="true" text="List of replacements"
				resourcekey="dshReplacementList" cssclass="Head" runat="server"></dnn:sectionhead>
			<TABLE id="tblReplacementList" cellSpacing="0" cellPadding="0" width="300" border="0" runat="server">
				<TR>
					<TD><asp:datagrid id="grdReplacements" runat="server" AutoGenerateColumns="False" Width="656px">
							<headerstyle cssclass="NormalBold" verticalalign="Top" horizontalalign="Center" />
							<itemstyle cssclass="Normal" horizontalalign="Left" />
							<alternatingitemstyle cssclass="Normal" />
							<edititemstyle cssclass="NormalTextBox" />
							<selecteditemstyle cssclass="NormalRed" />
							<footerstyle cssclass="DataGrid_Footer" />
							<pagerstyle cssclass="DataGrid_Pager" />
							<Columns>
								<asp:ButtonColumn Text="Select" CommandName="Select"></asp:ButtonColumn>
								<asp:BoundColumn HeaderText="Name"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Tabs"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Locales"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="SearchFor"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="ReplaceWith"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Order"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Disabled"></asp:TemplateColumn>
								<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
		<TD><dnn:sectionhead id="dshUpdateReplacement" section="tblUpdateReplacement" includerule="true" text="Create/Update replacement"
				resourcekey="dshUpdateReplacement" cssclass="Head" runat="server"></dnn:sectionhead>
			<TABLE id="tblUpdateReplacement" cellSpacing="0" cellPadding="0" width="300" border="0"
				runat="server">
				<TR>
					<TD class="SubHead">
						<TABLE id="Table3" cellSpacing="0" cellPadding="0" border="0" width="632">
							<TR>
								<TD class="SubHead"><dnn:label id="plName" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plOrder" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plDisabled" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
							</TR>
							<TR>
								<TD><asp:textbox id="txtName" runat="server" Width="312px" CssClass="NormalTextBox" MaxLength="15"></asp:textbox>
									<asp:RequiredFieldValidator id="rvName" runat="server" ErrorMessage="The name must bu specified" Display="Dynamic"
										ControlToValidate="txtName"></asp:RequiredFieldValidator></TD>
								<TD><asp:textbox id="txtOrder" runat="server" Width="64px" CssClass="NormalTextBox" MaxLength="5"></asp:textbox></TD>
								<TD><asp:checkbox id="chkDisabled" runat="server"></asp:checkbox></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD class="Normal"></TD>
				</TR>
				<TR>
					<TD class="SubHead"><dnn:label id="plSearchFor" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
				</TR>
				<TR>
					<TD class="Normal"><asp:textbox id="txtSearchFor" runat="server" Width="552px" CssClass="NormalTextBox" TextMode="MultiLine"
							MaxLength="500"></asp:textbox>
						<asp:RequiredFieldValidator id="rvSearchFor" runat="server" ErrorMessage="Search for must be specified" Display="Dynamic"
							ControlToValidate="txtSearchFor"></asp:RequiredFieldValidator></TD>
				</TR>
				<TR>
					<TD class="SubHead"><dnn:label id="plReplaceWith" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
				</TR>
				<TR>
					<TD class="Normal"><asp:textbox id="txtReplaceWith" runat="server" Width="552px" CssClass="NormalTextBox" TextMode="MultiLine"></asp:textbox></TD>
				</TR>
				<TR>
					<TD class="Normal">
						<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="300" border="1">
							<TR>
								<TD class="SubHead"><dnn:label id="plTabs" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plLocales" runat="server" suffix=":" controlname="lstModules"></dnn:label></TD>
							</TR>
							<TR>
								<TD><asp:listbox id="lstTabs" cssclass="NormalTextBox" runat="server" SelectionMode="Multiple" width="424px"
										rows="22" Height="120px"></asp:listbox></TD>
								<TD><asp:listbox id="lstLocales" runat="server" Width="192px" CssClass="NormalTextBox" SelectionMode="Multiple"
										Height="119px"></asp:listbox></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD>
						<asp:linkbutton id="cmdCreateNew" runat="server" resourcekey="cmdCreateNew" CssClass="CommandButton">Create new</asp:linkbutton>&nbsp;
						<asp:linkbutton id="cmdUpdate" runat="server" resourcekey="cmdUpdate" CssClass="CommandButton" Visible="False">Update</asp:linkbutton>&nbsp;&nbsp;
						<asp:hyperlink id="cmdReturn" runat="server" resourcekey="cmdReturn" CssClass="CommandButton">Return</asp:hyperlink></TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
</TABLE>
